package com.itheima.method;

public class Demo11Method {
    public static void main(String[] args) {
        int number = 100;
        System.out.println("调用change方法前:" + number);

        change(number);          //吧number的值100复制一份交给change方法的形参 abc
        System.out.println("调用change方法后:" + number);
    }
    public static void change(int abc){
        System.out.println("abc = " + abc);
        abc = 200;
        System.out.println("abc = " + abc);
    }
}
